<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Array Display Page</title>
    <style>
        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        body {
            width: 250px;
            height: 100px;
            background-color: transparent; /* 将body背景设置为透明 */
        }

       .content {
            font-size: 60px; /* 设置默认字体大小，可根据需求调整，这里用于a1展示 */
            text-align: center;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
			color: #ff0000;
        }

        p {
            margin: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: -webkit-linear-gradient(left,
                    #ffffff,
                    #ff0000 6.25%,
                    #ff7d00 12.5%,
                    #ffff00 18.75%,
                    #00ff00 25%,
                    #00ffff 31.25%,
                    #0000ff 37.5%,
                    #ff00ff 43.75%,
                    #ffff00 50%,
                    #ff0000 56.25%,
                    #ff7d00 62.5%,
                    #ffff00 68.75%,
                    #00ff00 75%,
                    #00ffff 81.25%,
                    #0000ff 87.5%,
                    #ff00ff 93.75%,
                    #ffff00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% 100%;
            animation: masked-animation 2s infinite linear;
            font-size: 33px; /* 设置默认字体大小，可根据需求调整，这里用于a2展示 */
        }

        @keyframes masked-animation {
            0% {
                background-position: 0 0;
            }

            100% {
                background-position: -100% 0;
            }
        }
    </style>
</head>

<body>
    <div id="content"></div>
    <script src="script.js"></script>
</body>

</html>